package com.j.lemon.learn.basic.dongtaidaili;

/**
 * @Author lijunjun
 * @Date 2019-01-21 18:32
 * @Description
 */
public class Run {
    public static void main(String[] args) {
        Person person = (Person) new JDKProxy().getInstance(new JunjunLi());
        person.sing();

        JunjunLi junjunLi = (JunjunLi) new CglibProxy().getInstance(new JunjunLi());
        junjunLi.sing();

    }
}
